home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
geodem
/
cstart5.frm
< prev
next >
Wrap
Text File
|
1995-05-08
|
3KB
|
109 lines
VERSION 2.00
Begin Form Startup
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
ClientHeight = 1950
ClientLeft = 1065
ClientTop = 1485
ClientWidth = 4470
ControlBox = 0 'False
Height = 2355
Left = 1005
LinkMode = 1 'Source
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1950
ScaleWidth = 4470
Top = 1140
Width = 4590
Begin PictureBox StartPic
BackColor = &H00808080&
BorderStyle = 0 'None
Height = 1695
Left = 120
ScaleHeight = 1695
ScaleWidth = 4215
TabIndex = 0
Top = 120
Width = 4215
End
Begin Timer Timer1
Interval = 10000
Left = 0
Top = 0
End
End
'3D CyberSpace viewer from...
'Ivory Tower Software
'Richard Wagner, vice president, development
'CIS 76427,2611
'Copyright 1992, all rights reserved.
'You may use this VB source code in your programs if you include attribution in your
'startup and "about" screens in the form: "Portions of this program copyright by
'Ivory Tower Software, used with permission," or a similar phrase.
'If you do use this code in your application, please let us know. We would like to
'take a look at it. Your comments and suggestions for improving this software are
'welcome.
Sub DrawWords ()
BorderBoxRaised StartPic, StartUp
Line1$ = "CyberSpace Cruiser"
Line2$ = "Demo version 1.09 from..."
Line3$ = "Ivory Tower Software"
StartPic.FontSize = 12
StartPic.forecolor = QBColor(11)
StartPic.currentY = 120
StartPic.currentx = (StartPic.scalewidth - StartPic.TextWidth(Line1$)) / 2
StartPic.Print Line1$
StartPic.FontSize = 8.25
StartPic.fontbold = 0
StartPic.forecolor = QBColor(0)
StartPic.currentY = StartPic.scaleHeight / 2 - 60
StartPic.currentx = (StartPic.scalewidth - StartPic.TextWidth(Line2$)) / 2
StartPic.Print Line2$
StartPic.fontbold = -1
StartPic.FontSize = 18
StartPic.forecolor = QBColor(15)
StartPic.currentY = StartPic.scaleHeight - StartPic.TextHeight(Line3$) - 120
StartPic.currentx = (StartPic.scalewidth - StartPic.TextWidth(Line3$)) / 2
StartPic.Print Line3$
End Sub
Sub Form_Load ()
top = (screen.height - height) / 2
left = (screen.width - width) / 2
End Sub
Sub Form_Paint ()
DrawWords
End Sub
Sub Form_Resize ()
DrawWords
XView.Show
End Sub
Sub Timer1_Timer ()
Unload StartUp
End Sub